/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jsf;

/**
 *
 * @author Luis Molinari
 */
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import java.io.Serializable;  

@ManagedBean
@RequestScoped
public class HomeController implements Serializable{
    private String urlContent;
    
    public String getUrlContent(){
        if(this.urlContent == null || this.urlContent.equals(""))
            this.urlContent = "faces/Agenda.xhtml";
        return urlContent;
    }
    
    public void setUrlContent(String urlContent){
        this.urlContent = urlContent;
    }
}
